package com.itheima.method;

public class MethodDemo02 {
    public static void main(String[] args) {
        //调用方法时,别人要什么,咱就给什么,别人要几个,咱就给几个
        getMarry( "别墅靠大海","8手拖拉机",66666);
    }

    //3. 定义方法时,只明确参数的个数和类型,不明确参数的值!
    public static void getMarry(String house, String car, int money){
        System.out.println("收到女婿的:"+house+","+car+","+money);
        System.out.println("带着品如回去好好过..");
    }
}
